package com.jgp.glmeeting.mobile.commons;

import jdk.nashorn.internal.ir.ObjectNode;

public class BaseResponse {

    private int code;

    private Object obj;

    private String errorMsg;

    public BaseResponse(int code) {
        this.code = code;
    }

    public BaseResponse(int code, String errorMsg){
        this.code = code;
        this.errorMsg = errorMsg;
    }

    public BaseResponse(int code, String errorMsg, Object obj){
        this.code = code;
        this.errorMsg = errorMsg;
        this.obj = obj;
    }


    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }
}
